//
// Author: jiangli
// Email: 1316762810@qq.com
//
#include "leaky_implementation.h"

int DoSomeWork() {
  // we allocate an array
  double *default_array = new double[1000];
  // do some work
  // ...
  // we forget to deallocate it
  // delete[] default_array;
  return 0;
}